package com.xtz.vo;

import com.xtz.domain.Category;

import java.util.List;

/**
 * date: 2022/5/5 10:31
 *
 * @author xietianze
 */
public class CategoryPageVo {
    private Object records;
    private Long total;
    private Integer size;
    private Integer current;
    private Object orders;
    private boolean optimizeCountSql;
    private boolean hitCount;
    private String countId;
    private String maxLimit;
    private boolean searchCount;
    private Integer pages;

    public CategoryPageVo() {
    }

    public CategoryPageVo(Object records, Long total, Integer size, Integer current, Object orders, boolean optimizeCountSql, boolean hitCount, String countId, String maxLimit, boolean searchCount, Integer pages) {
        this.records = records;
        this.total = total;
        this.size = size;
        this.current = current;
        this.orders = orders;
        this.optimizeCountSql = optimizeCountSql;
        this.hitCount = hitCount;
        this.countId = countId;
        this.maxLimit = maxLimit;
        this.searchCount = searchCount;
        this.pages = pages;
    }

    public Object getRecords() {
        return records;
    }

    public void setRecords(Object records) {
        this.records = records;
    }

    public Long getTotal() {
        return total;
    }

    public void setTotal(Long total) {
        this.total = total;
    }

    public Integer getSize() {
        return size;
    }

    public void setSize(Integer size) {
        this.size = size;
    }

    public Integer getCurrent() {
        return current;
    }

    public void setCurrent(Integer current) {
        this.current = current;
    }

    public Object getOrders() {
        return orders;
    }

    public void setOrders(Object orders) {
        this.orders = orders;
    }

    public boolean isOptimizeCountSql() {
        return optimizeCountSql;
    }

    public void setOptimizeCountSql(boolean optimizeCountSql) {
        this.optimizeCountSql = optimizeCountSql;
    }

    public boolean isHitCount() {
        return hitCount;
    }

    public void setHitCount(boolean hitCount) {
        this.hitCount = hitCount;
    }

    public String getCountId() {
        return countId;
    }

    public void setCountId(String countId) {
        this.countId = countId;
    }

    public String getMaxLimit() {
        return maxLimit;
    }

    public void setMaxLimit(String maxLimit) {
        this.maxLimit = maxLimit;
    }

    public boolean isSearchCount() {
        return searchCount;
    }

    public void setSearchCount(boolean searchCount) {
        this.searchCount = searchCount;
    }

    public Integer getPages() {
        return pages;
    }

    public void setPages(Integer pages) {
        this.pages = pages;
    }
}
